package com.hs.sfzy.mapper;

import com.hs.sfzy.entity.HeartTest;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author qin
* @description 针对表【hearttest】的数据库操作Mapper
* @createDate 2024-10-26 15:14:30
* @Entity com.hs.sfzy.entity.HeartTest
*/
public interface HeartTestMapper {

    List<HeartTest> getTestByHeartId(int heartId);

    List<HeartTest> getTestByHeartIds(@Param("heartIds") Integer[] heartIds);

    List<HeartTest> getAllHeartTest();

    int deleteById(int id);

    int deleteByHeartId(int heartId);

    int insert(HeartTest heartTest);

    int updateHeartTest(HeartTest heartTest);

}
